package com.weseal.exception;

/**
 * @author weseal
 * @title
 * @description
 * @usage
 * @copyright Copyright 2014  rrmj Corporation. All rights reserved.
 * @company 上海众多美网络科技有限公司
 * @create 2017/9/10
 */
public class FunctionException extends BaseException {

	/**
	 * 角色异常前缀
	 */
	private final static String PRE_EXCEPTION = "16";
	public static FunctionException NOT_FOUND_FUNCTION_EXCEPTION = new FunctionException(PRE_EXCEPTION + "15", "权限不存在");
	public static FunctionException FUNCTION_COLLECTION_EMPTY = new FunctionException(PRE_EXCEPTION + "15", "权限集合为空");

	public FunctionException(String code, String message) {
		super(code, message);
	}
}
